<?php 
$pagination_control = $this->paginationControl($this->paginator,
                             'Sliding',
                             'pagination_control.phtml');

echo $pagination_control;
$first_item_number = $this->paginator->getPages()->firstItemNumber;
echo "<ol start='{$first_item_number}'>";
foreach ($this->paginator as $item) {
    echo "<li><p>{$item['name']}</p><p>Адрес: {$item['text']}</li>";
}
echo '</ol>';
echo $pagination_control;
var_dump($this->paginator);
?>

<table border="1px">
    <tr>
        <td>ID</td>
        <td>Name</td>
        <td>Text</td>
        <td>Date</td>
        <td>Action</td>
    </tr>
    
        <?php /*
        foreach($this->news as $new){
            echo "<tr>";
            echo "<td>$new[id]</td>";
            echo "<td>$new[name]</td>";
            echo "<td>$new[text]</td>";
            echo "<td>$new[date]</td>";
            echo "<td>          <a href=" . $this->url(array(
                                'controller' => 'news',
                                'action' => 'update',
                                'id' => $new['id'])) . ">update</a><br />
                                <a href=" . $this->url(array(
                                'controller' => 'news',
                                'action' => 'deletenews',
                                'id' => $new['id'])) . ">delete</a>
                                </td>";
         echo "</tr>";   
        } */
        ?>
    
</table>